package gui.listeners;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import database.DBConnection;

public class MainFrameWindowAdapter extends WindowAdapter {
	public void windowClosing(WindowEvent e) {
		DBConnection.close();
		System.exit(0);
	}
}
